package com.yehuishou.pojo;

import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @author 杨斌
 *
 */
// 订单表

public class Order {

	private String oid;
	private double payment;// 实付金额。精确到2位小数;单位:元。如:200.07，表示:200元7分
	private Integer payment_type;// 支付类型，1、微信，2、支付宝
	private Integer status;
	private Integer uid;
	private Integer order_type;// 订单类型 , 1 回收订单 , 2 出售订单 , 3 租赁订单
	private String logisticCode;// 快递单号
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date createtime;
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date startdate;
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date enddate;
	private Integer stid;
	private Integer i_id;
	private Integer cfid;
	private Integer mun;
	private String title;
	private String filePath;
	private String colormemory;
	private double price;
	private String image;
	private List<Item_order> item_order;
	private Integer back_id;
	private String back_assess;
	private String back_way;
	private String model;
	private String img_url;
	public String getOid() {
		return oid;
	}

	public void setOid(String oid) {
		this.oid = oid;
	}

	public Integer getPayment_type() {
		return payment_type;
	}

	public void setPayment_type(Integer payment_type) {
		this.payment_type = payment_type;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public Integer getOrder_type() {
		return order_type;
	}

	public void setOrder_type(Integer order_type) {
		this.order_type = order_type;
	}

	public Date getStartdate() {
		return startdate;
	}

	public void setStartdate(Date startdate) {
		this.startdate = startdate;
	}

	public Date getEnddate() {
		return enddate;
	}

	public void setEnddate(Date enddate) {
		this.enddate = enddate;
	}

	public Integer getStid() {
		return stid;
	}

	public void setStid(Integer stid) {
		this.stid = stid;
	}

	public Integer getI_id() {
		return i_id;
	}

	public void setI_id(Integer i_id) {
		this.i_id = i_id;
	}

	public Integer getCfid() {
		return cfid;
	}

	public void setCfid(Integer cfid) {
		this.cfid = cfid;
	}

	public double getPayment() {
		return payment;
	}

	public void setPayment(double payment) {
		this.payment = payment;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public String getLogisticCode() {
		return logisticCode;
	}

	public void setLogisticCode(String logisticCode) {
		this.logisticCode = logisticCode;
	}

	public Integer getMun() {
		return mun;
	}

	public void setMun(Integer mun) {
		this.mun = mun;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public String getColormemory() {
		return colormemory;
	}

	public void setColormemory(String colormemory) {
		this.colormemory = colormemory;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public List<Item_order> getItem_order() {
		return item_order;
	}

	public void setItem_order(List<Item_order> item_order) {
		this.item_order = item_order;
	}

	public Integer getBack_id() {
		return back_id;
	}

	public void setBack_id(Integer back_id) {
		this.back_id = back_id;
	}

	public String getBack_assess() {
		return back_assess;
	}

	public void setBack_assess(String back_assess) {
		this.back_assess = back_assess;
	}

	public String getBack_way() {
		return back_way;
	}

	public void setBack_way(String back_way) {
		this.back_way = back_way;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getImg_url() {
		return img_url;
	}

	public void setImg_url(String img_url) {
		this.img_url = img_url;
	}

	
}
